home *** CD-ROM | disk | FTP | other *** search
/ Gigarom 1 / Gigarom Macintosh Archives (Quantum Leap)(CDRM1080320)(1993).iso / FILES / HYP / C-D / DeveloperStax.cpt / Developer Stack 1.1 / card_4283.txt < prev    next >
Text File  |  1989-02-26  |  3KB  |  103 lines

  1. -- card: 4283 from stack: in.1
  2. -- bmap block id: 0
  3. -- flags: 4000
  4. -- background id: 2612
  5. -- name: ResCopy
  6.  
  7.  
  8. -- part 1 (button)
  9. -- low flags: 00
  10. -- high flags: A003
  11. -- rect: left=82 top=302 right=324 bottom=182
  12. -- title width / last selected line: 0
  13. -- icon id / first selected line: 0 / 0
  14. -- text alignment: 1
  15. -- font id: 0
  16. -- text size: 12
  17. -- style flags: 0
  18. -- line height: 16
  19. -- part name: Install
  20. ----- HyperTalk script -----
  21. on mouseUp
  22.   --
  23.   --Original script by Steve Drazga, ART Incorpoated
  24.   --XFCNs used: none
  25.   --XCMDs used: none
  26.   --HANDLERS used: none
  27.   --FUNCTIONS used: installRes
  28.   --
  29.   if the optionkey is down then pass mouseup
  30.   put installres(XCMD,ResCopy) into it
  31.   put installres(DLOG,ResCopy) into it
  32.   put installres(DITL,ResCopy) into it
  33.   if it is empty then play oops
  34.   else answer it
  35. end mouseup
  36.  
  37.  
  38.  
  39. -- part contents for background part 13
  40. ----- text -----
  41. 1
  42.  
  43. -- part contents for background part 2
  44. ----- text -----
  45. ResCopy
  46.  
  47. -- part contents for background part 3
  48. ----- text -----
  49.  
  50. This command allows you to move resources automatically, without the user having to do anything, or brings up a 'font mover' type dialog box for moving resources.
  51.  
  52.  
  53. ‚Ä¢  ‚Ä¢ INFORMATION ‚Ä¢ ‚Ä¢
  54. ResCopy will not open any file that is already open, unless you open it read-only (see next item).
  55.  
  56. Click ‚ÄúAll resource files (read only)‚Äù in the ‚ÄúOpen‚Äù dialog to display all resource files on your disks. 
  57. Use this method to look at HyperCard itself, the System file, or any file that contains resources 
  58. (like applications). Note that these files will be opened read-only, meaning that you can copy from them, but you cannot make any changes to them.
  59.  
  60. Option-select the ‚ÄúRemove‚Äù item in ResCopy‚Äôs menu to avoid the warning alert.
  61.  
  62.  
  63. ‚Ä¢¬†‚Ä¢ Messages ‚Ä¢¬†‚Ä¢
  64. ‚ÄúConvert sound to HyperCard format?‚Äù - When copying 'snd ' resources, ResCopy will convert the sounds to HyperCard format if they are not already in that format. Click ‚ÄúOK‚Äù to do the conversion. Click ‚ÄúConvert all‚Äù to avoid further prompts when copying multiple sounds.
  65.  
  66. ‚ÄúI am missing some of my resources!‚Äù - One of the resources listed above is missing from the current card and the Home card.
  67.  
  68. ‚ÄúThat file cannot be opened.‚Äù - There was a problem opening that file.
  69.  
  70. ‚ÄúThat file is locked or busy.‚Äù - ResCopy was unable to add a new resource to a file.
  71.  
  72. ‚ÄúNot enough memory to run ResCopy.‚Äù - ResCopy checks to see if there is at least 64K of free RAM. You can get this message if you are using the Painting tools, if the RAM cache is turned on, or if you are running InBox‚Ñ¢ or TOPS‚Ñ¢. Turn off or disable one or more of these, or change the userLevel to 1 or 2 and try again.
  73.  
  74. ‚ÄúNot enough memory to play sound.‚Äù - Just what it says.
  75.  
  76. ‚ÄúOops, not a playable Hypercard sound.‚Äù - This is a ‚Äòtype 1‚Äô sound that is not a digitized sound, or is in some other way not compatible with HyperCard.
  77.  
  78.  
  79.  
  80. Thanks to:
  81. Steve Maller, Apple Computer.
  82. AppleLink: maller1 ‚Ä¢ Delphi: stevemaller ‚Ä¢ MCI Mail: smaller
  83.  
  84.  
  85. -- part contents for background part 10
  86. ----- text -----
  87. Syntax:
  88.  
  89. ResCopy
  90.  
  91. --or--
  92.  
  93. ResCopy <fromFile>, <toFile>, 
  94. <resType>, <resIDnumber>
  95.  
  96. --or--  
  97.  
  98. ResCopy <fromFile>, <toFile>, 
  99. <resType>, <resName>
  100.  
  101.  
  102.  
  103. Click on the 'Resource Mover' button below to try this XCMD.